<template>
	<view>
		<view class="empty">
			<i class="icon">&#xe6b8;</i>
			<view>暂无记录</view>
			<button @tap="toIndex">去逛逛~</button>
		</view>
	</view>
</template>

<script>
	export default{
		methods:{
			toIndex(){
				console.log(1)
				uni.switchTab({
					url:"../index/index"
				})
			}
		}
	}
</script>

<style>
	.empty{text-align: center;margin-top:100upx;color:#666666;font-size: 30upx;}
	.empty .icon{font-size: 120upx;color:#999999}
	.empty > view{margin-top: 20upx;}
	.empty button{height:80upx;line-height: 80upx;background: #409EFF;color:#FFFFFF;border:none;width:50%;border-radius: 40upx;margin-top:100upx}
	
</style>
